﻿using System;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridFilterChangedEventArgs : EventArgs
    {
        // Methods
        internal DataGridFilterChangedEventArgs(DataGridColumnValue<DataGridFilterState>[] newFilteredColumns, DataGridColumnValue<DataGridFilterState>[] oldFilteredColumns)
        {
            this.NewFilteredColumns = newFilteredColumns;
            this.OldFilteredColumns = oldFilteredColumns;
        }

        // Properties
        public DataGridColumnValue<DataGridFilterState>[] NewFilteredColumns { get; private set; }

        public DataGridColumnValue<DataGridFilterState>[] OldFilteredColumns { get; private set; }
    }
}
